package com.hishop.feign;

import com.hishop.common.utils.R;
import com.hishop.vo.UserLoginVo;
import com.hishop.vo.UserRegistVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("hiShop-member")
public interface MemberFeignService {

    @PostMapping("member/member/register")
    R regist(@RequestBody UserRegistVo vo);

    @PostMapping("member/member//login")
    R login(@RequestBody UserLoginVo vo);
}
